
<%

String is_page="";

if(request.getParameter("page")!=null)
{
    is_page=request.getParameter("page");    
    
    if(is_page.compareTo("test")==0)
    {
        pageContext.include("../test/test.jsp");
        return;
    }
     if(is_page.compareTo("login")==0)
    {
         pageContext.include("../index/login.jsp");
           //pageContext.include("../student/detail_dktc.jsp");
        return;
    }
    if(is_page.compareTo("dktc")==0)
    {
         pageContext.include("../student/dktc.jsp");
           //pageContext.include("../student/detail_dktc.jsp");
        return;
    }
     if(is_page.compareTo("delete_dktc")==0)
    {
         pageContext.include("../student/delete_dktc.jsp");
           //pageContext.include("../student/detail_dktc.jsp");
        return;
    }
     if(is_page.compareTo("detail_dktc")==0)
    {
         pageContext.include("../student/detail_dktc.jsp");
        return;
    }
    if(is_page.compareTo("rule_dktc")==0)
    {
        pageContext.include("../student/rule_dktc.jsp");
        return;
    }
     if(is_page.compareTo("contact")==0)
    {
        pageContext.include("../contact/contact.jsp");
        return;
    }
     if(is_page.compareTo("introduce")==0)
    {
        pageContext.include("../introduce/introduce.jsp");
        return;
    }
    if(is_page.compareTo("trainning_dktc")==0)
    {
        pageContext.include("../student/trainning_dktc.jsp");
        return;
    }
    if(is_page.compareTo("list_all_news")==0)
    {
        pageContext.include("../news/list_all_news.jsp");
        return;
    }
    if(is_page.compareTo("news_detail")==0)
    {
        pageContext.include("../news/news_detail.jsp");
        return;
    }
    if(is_page.compareTo("index")==0)
    {
        pageContext.include("../index/home.jsp");
        return;
    }
    if(is_page.compareTo("error")==0)
    {
        pageContext.include("../error/error.jsp");
        return;
    }
     if(is_page.equals("profiles"))
    {
        pageContext.include("../student/profiles.jsp");
        return;
    }   
    else
      {
        pageContext.include("../index/home.jsp");
    }

}
else
      {
        //pageContext.include("../error/error.jsp");
        return;
    }
%>
